﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace com.nm.db.Models.SSO
{
    /// <summary>
    /// 子系统请求的用户信息
    /// </summary>
    public class SsoUserInfo
    {
        /// <summary>
        /// 应用ID
        /// </summary>
        public string AppKey { get; set; }
        /// <summary>
        /// 应用秘钥
        /// </summary>
        public string AppSecret { get; set; }
        /// <summary>
        /// 用户ID
        /// </summary>
        public string UserId { get; set; }
        /// <summary>
        /// 子系统用户名
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 用户密码
        /// </summary>
        public string Password { get; set; }
        /// <summary>
        /// 用户IP,终端客户的IP
        /// </summary>
        public string Ip { get; set; }
        /// <summary>
        /// 令牌Token
        /// </summary>
        public string Token { get; set; }
        /// <summary>
        /// 登录标识,是否强制登录,0表示否。1为强制登录
        /// </summary>        
        public int ForceLogin { get; set; }
    }
}
